.class Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;
.super Landroid/widget/BaseAdapter;
.source "LocalFileSharingActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->M()Landroid/widget/BaseAdapter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;->a:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;->a:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->c(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    move-result-object v0

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;->a:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->c(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    move-result-object v1

    array-length v1, v1

    monitor-exit v0

    return v1

    :catchall_0
    move-exception v1

    .line 3
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    return-object p1
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 4

    .line 1
    iget-object p3, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;->a:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-static {p3}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->c(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    move-result-object p3

    monitor-enter p3

    if-nez p2, :cond_0

    .line 2
    :try_start_0
    iget-object p2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;->a:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-static {p2}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const v0, 0x7f0c01c5

    const/4 v1, 0x0

    .line 3
    invoke-virtual {p2, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_0
    const v0, 0x7f090487

    .line 4
    :try_start_1
    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const v1, 0x7f090489

    .line 5
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;->a:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->c(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    move-result-object v2

    aget-object p1, v2, p1

    const/4 v2, 0x0

    .line 7
    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    const/4 v2, 0x4

    .line 8
    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    const v1, 0x7f090218

    .line 9
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 10
    iget-object v2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;->a:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->e(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)Lcom/estrongs/android/ui/theme/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/ui/theme/b;->i()I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    .line 11
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, "("

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, p1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v1, 0x7f090214

    .line 12
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    .line 13
    iget-boolean p1, p1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    invoke-virtual {v0, p1}, Landroid/widget/CheckBox;->setChecked(Z)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 14
    :try_start_2
    monitor-exit p3

    return-object p2

    :catchall_0
    move-exception p1

    goto :goto_0

    .line 15
    :catch_0
    monitor-exit p3

    return-object p2

    .line 16
    :goto_0
    monitor-exit p3
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    throw p1
.end method
